package com.nuodui.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 问卷题目
 * </p>
 *
 * @author author
 * @since 2024-05-03
 */
@TableName("quest_topic")
public class QuestTopic implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    /**
     * 问卷表id
     */
    private String questId;

    /**
     * 题库分类id
     */
    private String categoryId;

    /**
     * 是否公开 0 否 1 是
     */
    private Integer isPublic;

    /**
     * 题目类型 传题目类型 id 
     */
    private String topicType;

    /**
     * 题目标题
     */
    private String topicTitle;

    /**
     * 内容
     */
    private String topicNote;

    /**
     * 当前页码
     */
    private Integer topicPage;

    /**
     * 是否必答 0 否 1 是
     */
    private Integer isTopicRequired;

    /**
     * 可选范围是否启用 0 否 1 是
     */
    private Integer isOptionalRange;

    /**
     * 最小范围
     */
    private Integer isOptionalRangeMin;

    /**
     * 最大范围
     */
    private Integer isOptionalRangeMax;

    /**
     * 排出前 0 全部 
     */
    private Integer isBeforeDischarge;

    /**
     * 内容限制是否启用 0 否 1 是 
     */
    private Integer isContentRestrictions;

    /**
     * 内容限制最小 字数
     */
    private Integer isContentRestrictionsMin;

    /**
     * 内容限制最多 字数
     */
    private Integer isContentRestrictionsMax;

    /**
     * 打分题--样式 1 、星星 2、爱心 3、笑脸
     */
    private Integer isStyle;

    /**
     * 出卷人
     */
    private Integer authorId;

    /**
     * 是否启用 0：禁用
     */
    private Integer isEnable;

    /**
     * 是否显示 0：不显示
     */
    private Integer isShow;

    /**
     * 是否删除 0：删除
     */
    private Integer isDelete;

    /**
     * 备注
     */
    private String remark;

    private String createTime;

    /**
     * 创建者
     */
    private String createBy;

    private String updateTime;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 排序
     */
    private Integer sort;

    private Integer isShowType;

    /**
     * 选项互斥开关 0 关 1 开
     */
    private Integer repelConfig;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getQuestId() {
        return questId;
    }

    public void setQuestId(String questId) {
        this.questId = questId;
    }
    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }
    public Integer getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Integer isPublic) {
        this.isPublic = isPublic;
    }
    public String getTopicType() {
        return topicType;
    }

    public void setTopicType(String topicType) {
        this.topicType = topicType;
    }
    public String getTopicTitle() {
        return topicTitle;
    }

    public void setTopicTitle(String topicTitle) {
        this.topicTitle = topicTitle;
    }
    public String getTopicNote() {
        return topicNote;
    }

    public void setTopicNote(String topicNote) {
        this.topicNote = topicNote;
    }
    public Integer getTopicPage() {
        return topicPage;
    }

    public void setTopicPage(Integer topicPage) {
        this.topicPage = topicPage;
    }
    public Integer getIsTopicRequired() {
        return isTopicRequired;
    }

    public void setIsTopicRequired(Integer isTopicRequired) {
        this.isTopicRequired = isTopicRequired;
    }
    public Integer getIsOptionalRange() {
        return isOptionalRange;
    }

    public void setIsOptionalRange(Integer isOptionalRange) {
        this.isOptionalRange = isOptionalRange;
    }
    public Integer getIsOptionalRangeMin() {
        return isOptionalRangeMin;
    }

    public void setIsOptionalRangeMin(Integer isOptionalRangeMin) {
        this.isOptionalRangeMin = isOptionalRangeMin;
    }
    public Integer getIsOptionalRangeMax() {
        return isOptionalRangeMax;
    }

    public void setIsOptionalRangeMax(Integer isOptionalRangeMax) {
        this.isOptionalRangeMax = isOptionalRangeMax;
    }
    public Integer getIsBeforeDischarge() {
        return isBeforeDischarge;
    }

    public void setIsBeforeDischarge(Integer isBeforeDischarge) {
        this.isBeforeDischarge = isBeforeDischarge;
    }
    public Integer getIsContentRestrictions() {
        return isContentRestrictions;
    }

    public void setIsContentRestrictions(Integer isContentRestrictions) {
        this.isContentRestrictions = isContentRestrictions;
    }
    public Integer getIsContentRestrictionsMin() {
        return isContentRestrictionsMin;
    }

    public void setIsContentRestrictionsMin(Integer isContentRestrictionsMin) {
        this.isContentRestrictionsMin = isContentRestrictionsMin;
    }
    public Integer getIsContentRestrictionsMax() {
        return isContentRestrictionsMax;
    }

    public void setIsContentRestrictionsMax(Integer isContentRestrictionsMax) {
        this.isContentRestrictionsMax = isContentRestrictionsMax;
    }
    public Integer getIsStyle() {
        return isStyle;
    }

    public void setIsStyle(Integer isStyle) {
        this.isStyle = isStyle;
    }
    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }
    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }
    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }
    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getIsShowType() {
        return isShowType;
    }

    public void setIsShowType(Integer isShowType) {
        this.isShowType = isShowType;
    }
    public Integer getRepelConfig() {
        return repelConfig;
    }

    public void setRepelConfig(Integer repelConfig) {
        this.repelConfig = repelConfig;
    }

    @Override
    public String toString() {
        return "QuestTopic{" +
            "id=" + id +
            ", questId=" + questId +
            ", categoryId=" + categoryId +
            ", isPublic=" + isPublic +
            ", topicType=" + topicType +
            ", topicTitle=" + topicTitle +
            ", topicNote=" + topicNote +
            ", topicPage=" + topicPage +
            ", isTopicRequired=" + isTopicRequired +
            ", isOptionalRange=" + isOptionalRange +
            ", isOptionalRangeMin=" + isOptionalRangeMin +
            ", isOptionalRangeMax=" + isOptionalRangeMax +
            ", isBeforeDischarge=" + isBeforeDischarge +
            ", isContentRestrictions=" + isContentRestrictions +
            ", isContentRestrictionsMin=" + isContentRestrictionsMin +
            ", isContentRestrictionsMax=" + isContentRestrictionsMax +
            ", isStyle=" + isStyle +
            ", authorId=" + authorId +
            ", isEnable=" + isEnable +
            ", isShow=" + isShow +
            ", isDelete=" + isDelete +
            ", remark=" + remark +
            ", createTime=" + createTime +
            ", createBy=" + createBy +
            ", updateTime=" + updateTime +
            ", updateBy=" + updateBy +
            ", sort=" + sort +
            ", isShowType=" + isShowType +
            ", repelConfig=" + repelConfig +
        "}";
    }
}
